package com.skyworth.web.admin.dishware.form;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by skyworth on 2016/9/20.
 */

public class DishwareForm {
	public long id;
	@NotEmpty(message = "名称不能为空")
	public String name;
	public long storeId;
	public Float unitPrice;
	public String unit="份";
	public Integer autoAdd;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getStoreId() {
		return storeId;
	}

	public void setStoreId(long storeId) {
		this.storeId = storeId;
	}

	public Float getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Float unitPrice) {
		this.unitPrice = unitPrice;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getAutoAdd() {
		return autoAdd;
	}

	public void setAutoAdd(Integer autoAdd) {
		this.autoAdd = autoAdd;
	}
}
